package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品信息表对象 product
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long pdId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pdName;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String pdType;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pdInsdate;

    /** 标题图片 */
    @Excel(name = "标题图片")
    private String pdTitelImg;

    /** 产品介绍 */
    @Excel(name = "产品介绍")
    private String pdInfoImg;

    /** 公司id */
    @Excel(name = "公司id")
    private Long cpId;

    public void setPdId(Long pdId) 
    {
        this.pdId = pdId;
    }

    public Long getPdId() 
    {
        return pdId;
    }

    public void setPdName(String pdName) 
    {
        this.pdName = pdName;
    }

    public String getPdName() 
    {
        return pdName;
    }

    public void setPdType(String pdType) 
    {
        this.pdType = pdType;
    }

    public String getPdType() 
    {
        return pdType;
    }

    public void setPdInsdate(Date pdInsdate) 
    {
        this.pdInsdate = pdInsdate;
    }

    public Date getPdInsdate() 
    {
        return pdInsdate;
    }

    public void setPdTitelImg(String pdTitelImg) 
    {
        this.pdTitelImg = pdTitelImg;
    }

    public String getPdTitelImg() 
    {
        return pdTitelImg;
    }

    public void setPdInfoImg(String pdInfoImg) 
    {
        this.pdInfoImg = pdInfoImg;
    }

    public String getPdInfoImg() 
    {
        return pdInfoImg;
    }

    public void setCpId(Long cpId) 
    {
        this.cpId = cpId;
    }

    public Long getCpId() 
    {
        return cpId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pdId", getPdId())
            .append("pdName", getPdName())
            .append("pdType", getPdType())
            .append("pdInsdate", getPdInsdate())
            .append("pdTitelImg", getPdTitelImg())
            .append("pdInfoImg", getPdInfoImg())
            .append("cpId", getCpId())
            .toString();
    }
}
